package com.michau.testitas.common.service;

import com.michau.testitas.common.model.answer.Answer;

import java.util.Set;

/**
 * User: michau
 * Date: 4/7/13
 * Time: 7:24 PM
 */
public interface AnswerService {

    public Answer getById(long id);

    public Answer getByTransferKey(String transferKey);

    public Set<Answer> getAll();

    public Answer create(Answer Answer);

    public void createOrUpdate(Answer Answer);

    public void copy(Answer fromAnswer, Answer toAnswer);

    public void update(Answer Answer);

    public void delete(Answer... Answer);

    public void deleteAll();

}
